|
bool | bringToFront () noexcept override |
| WindowedGraphicsOutput::bringToFront() implementation.
|
|
optional< void * > | createImage (int target, void *data, int *attributes) noexcept override |
| GLGraphicsOutput::createImage() implementation.
|
|
bool | destroyImage (void *image) noexcept override |
| GLGraphicsOutput::destroyImage() implementation.
|
|
optional< SurfaceColorSpace > | getColorSpace () const noexcept override |
| GLGraphicsOutput::getColorSpace() implementation.
|
|
struct KzsDesktop * | getDesktop () const |
| Gets associated legacy desktop.
|
|
struct KzsDisplay * | getDisplay (size_t index) const |
| Access associated legacy display by index.
|
|
optional< GraphicsContextAPI > | getGraphicsContextAPI () const noexcept override |
| GLGraphicsOutput::getGraphicsContextAPI() implementation.
|
|
optional< void * > | getNativeContextHandle () const noexcept override |
| GLGraphicsOutput::getNativeContextHandle() implementation.
|
|
optional< void * > | getNativeDisplayHandle () const noexcept override |
| GLGraphicsOutput::getNativeDisplayHandle() implementation.
|
|
NativeInputHandle | getNativeInputHandle () |
| Gets the associated native input handle.
|
|
optional< void * > | getNativeSurfaceHandle () const noexcept override |
| GLGraphicsOutput::getNativeSurfaceHandle() implementation.
|
|
optional< NativeWindowHandle > | getNativeWindowHandle () const noexcept override |
| WindowedGraphicsOutput::getNativeWindowHandle() implementation.
|
|
KZ_DEPRECATED KZ_NO_DISCARD KzsDisplayOrientationAngle | getOrientationAngle () const |
| Gets legacy orientation angle.
|
|
GLGraphicsOutput::GLProcPointer | getProcAddress (string_view functionName) override |
| GLGraphicsOutput::getProcAddress() implementation.
|
|
struct KzsSurface * | getSurface () const |
| Gets associated legacy surface.
|
|
optional< SurfaceClientAPI > | getSurfaceClientAPI () const noexcept override |
| GLGraphicsOutput::getSurfaceClientAPI() implementation.
|
|
Matrix4x4 | getTargetTransformation () const noexcept override |
| GLGraphicsOutput::getTargetTransformation() implementation.
|
|
struct KzsWindow * | getWindow () const |
| Gets associated legacy window.
|
|
optional< unsigned int > | getWindowHeight () const noexcept override |
| WindowedGraphicsOutput::getWindowHeight() implementation.
|
|
optional< int > | getWindowPositionX () const noexcept override |
| WindowedGraphicsOutput::getWindowPositionX() implementation.
|
|
optional< int > | getWindowPositionY () const noexcept override |
| WindowedGraphicsOutput::getWindowPositionY() implementation.
|
|
optional< string > | getWindowTitle () const noexcept override |
| WindowedGraphicsOutput::getWindowTitle() implementation.
|
|
optional< unsigned int > | getWindowWidth () const noexcept override |
| WindowedGraphicsOutput::getWindowWidth() implementation.
|
|
void | handleEvents (EventQueue &eventQueue) |
| Handles the window resize event.
|
|
bool | hideWindow () noexcept override |
| WindowedGraphicsOutput::hideWindow() implementation.
|
|
| LegacyGraphicsOutput (const struct KzsSurfaceProperties *surfaceProperties, const NativeWindowProperties *windowProperties, const NativeDesktopProperties *desktopProperties) |
| Constructor.
|
|
| LegacyGraphicsOutput (NativeWindowHandle handle, const struct KzsSurfaceProperties *surfaceProperties, const NativeWindowProperties *windowProperties, const NativeDesktopProperties *desktopProperties) |
| Constructor.
|
|
void | logExtensions () const |
| Logs the extensions of the graphics context.
|
|
void | logProperties () const |
| Logs the properties of the graphics output.
|
|
bool | makeCurrent () override |
| GLGraphicsOutput::makeCurrent() implementation.
|
|
bool | makeFullscreen () noexcept override |
| WindowedGraphicsOutput::makeFullscreen() implementation.
|
|
bool | makeMaximized () noexcept override |
| WindowedGraphicsOutput::makeMaximized() implementation.
|
|
bool | makeMinimized () noexcept override |
| WindowedGraphicsOutput::makeMinimized() implementation.
|
|
bool | makeRegular () noexcept override |
| WindowedGraphicsOutput::makeRegular() implementation.
|
|
bool | moveWindow (int positionX, int positionY) noexcept override |
| WindowedGraphicsOutput::moveWindow() implementation.
|
|
bool | releaseCurrent () override |
| GLGraphicsOutput::releaseCurrent() implementation.
|
|
bool | resize (unsigned int width, unsigned int height) noexcept override |
| WindowedGraphicsOutput::resize() implementation.
|
|
bool | resizeWindow (unsigned int width, unsigned int height) noexcept override |
| WindowedGraphicsOutput::resizeWindow() implementation.
|
|
bool | setWindowTitle (string_view title) noexcept override |
| WindowedGraphicsOutput::setWindowTitle() implementation.
|
|
bool | showWindow () noexcept override |
| WindowedGraphicsOutput::showWindow() implementation.
|
|
bool | swapBuffers () override |
| GLGraphicsOutput::swapBuffers() implementation.
|
|
bool | swapInterval (int interval) override |
| GLGraphicsOutput::swapInterval() implementation.
|
|
| ~LegacyGraphicsOutput () override |
| Destructor.
|
|
KZ_NO_DISCARD Vector2 | getDpi () const noexcept |
| Returns the resolution of the target coordinate system in dots per inch.
|
|
KZ_NO_DISCARD unsigned int | getHeight () const noexcept |
| Returns the height of layout area in the target coordinate system.
|
|
KZ_NO_DISCARD unsigned int | getWidth () const noexcept |
| Returns the width of layout area in the target coordinate system.
|
|
virtual | ~GraphicsOutput ()=default |
| Destructor.
|
|
virtual | ~GLGraphicsOutput ()=default |
| Destructor.
|
|
virtual | ~WindowedGraphicsOutput ()=default |
| Destructor.
|
|
LegacyGraphicsOutput class.
A graphics output implementation that provides basic GL rendering output.